package moon.search.query.repository;

import java.util.ArrayList;
import java.util.List;

import moon.search.criterion.Criterion;

public class ForEach<E> {
	
	
	public ForEach(){		
	}
	
	public <K> List<E> run(List<E> list, 
						String[] navigation,
						Criterion criterion) 
		throws Exception{
		
		List<E> listResult = new ArrayList<E>();
		for (E element : list){ // for each 
			
			//List<K> subList = new NavigationQuery().run(element, navigation);
			
			
			
			
		}
		return listResult;
	}
	
	
	
	
	
	
}
